package com.aviation.sell_ticket.controller;

import com.aviation.sell_ticket.service.ThemeService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.Map;

@RestController
@RequestMapping("ThemeAction")
public class ThemeController {

    @Resource
    ThemeService themeService;

    @RequestMapping("wholeTheme")
    public Map<String,Object>  wholeTheme(){
        return themeService.wholeTheme();
    }


}
